* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f8f8;
}

.modal {
    background: white;
    max-width: 600px;
    margin: 0 auto;
}

.modal-header {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  line-height: 16px;


}

.back-btn {
  background: none;
  border: none;
  padding: 0;
  margin-right: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
}

.back-btn svg {
  width: 24px;
  height: 24px;
}

.product-image {
    width: 100%;
    height: 200px;
    background: #eaeaea url('./67490298-12dc-49c1-bece-eec57779696b.png') center/contain no-repeat;
}

.product-info {
    padding: 16px;
    background: white;
}

.price-probability {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price strong {
    font-size: 20px;
    color: #111;
}

.label {
    color: #000;
    font-size: 13px;
    margin-left: 6px;
}

.probability {
    font-size: 13px;
    color: #000;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    margin-right: 6px;
}

.epic {
    background-color: #6c54f7;
}

.guarantee {
    display: flex;
    align-items: center;
    height: 50px;
    background: url('./static/img/compensation.png') center/cover no-repeat ;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 16px;
}

.guarantee svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-right: 8px;
}

.section-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.details-img-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-img-list img {
    width: 100%;
    border-radius: 6px;
}


.page-container {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}



.scrollable-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 可选：滚动隐藏头部 */
/* .hide-header {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
} */